package com.fumihiko.modules.ca.dao;


import com.fumihiko.modules.ca.vo.UserAppinfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserAppinfoMapper {


    @Select("select * from tb_user_appinfo")
    public List<UserAppinfoVo> getUserAppinfoList();

    @Select("select * from tb_user_appinfo where app_id = #{appId} and app_secret = #{appSecret}")
    public UserAppinfoVo getUserAppinfoVoObj(@Param("appId") String appId, @Param("appSecret") String appSecret);


}
